"To know a secret" means to have information that is intended to be kept hidden or unknown by others.